package site.myvps.querywhois.utils;

import java.util.List;

public class StringUtil {
    public static String join(String op, List<String> list) {
        StringBuilder sb = new StringBuilder();
        int size = list.size();
        for (int i = 0; i < size; i++) {
            if (i != 0) sb.append(op);
            sb.append(list.get(i));
        }
        return sb.toString();
    }
}
